<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>例5-1</title>
    <style type="text/css">
        div{
            border-width: 6px; /*边框宽度为6px*/
            border-color: #000000;/*边框颜色为黑色*/
            margin: 20px;/*外边距为20px*/
            padding: 5px;/*外边距为5px*/
            background-color: #FFFFCC;/*淡黄色背景*/
        }
        </style>
        <head>
            <body>
<div style="border-style: dashed">虚线边框</div>
<div style="border-style: dotted">点线边框</div>
<div style="border-style: double">双线边框</div>
<div style="border-style: groove">凹槽边框</div>
<div style="border-style: inset">凹边边框</div>
<div style="border-style: outset">凸边边框</div>
<div style="border-style: ridge">菱形边框</div>
<div style="border-style: solid">实线边框</div>
</body>
        </head>
</head>
<body>

</body>
</html>